home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / sharew / packer / compri / squsq.doc next >
Encoding:
Text File  |  1986-02-05  |  1.6 KB  |  31 lines

  1. STSQ, STUSQ - Squeeze (Compress), Unsqueeze (DeCompress) files.  
  2.               ATARI ST520.
  3.  
  4. SYNOPSYS
  5.  
  6.   STSQ [file_name]  STUSQ [file_name]
  7.  
  8. DESCRIPTION
  9.  
  10.  stsq
  11.    
  12.   This program compresses a file without losing information.
  13.   STUSQ must be run to unsqueeze the file before it can be used.  
  14.  
  15.   Typical compression rates are:
  16.  
  17.         Binary  6-12% 
  18.         Ascii   33-46%
  19.  
  20.   The squeezed file name is formed by changing the second from 
  21.   last letter of the file type to Q. If there is no file type, 
  22.   the squeezed file type is QQQ.  If the named exists it is 
  23.   overwritten!  
  24.  
  25.   The transformations compress strings of identical bytes and 
  26.   then encode each resulting byte value and EOF as bit strings 
  27.   having lengths in inverse proportion to their frequency of 
  28.   occurrence in the intermediate input stream. The latter uses 
  29.   the Huffman algorithm. Decoding information is included in the 
  30.   squeezed file, so squeezing short files or files with uniformly 
  31.   distributed byte valu